package com.easybacklog.client.cucumberfeatures.edit;

import com.easybacklog.client.InitializeEasyBacklog;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.HTML;

/**
 * 
 * @UserInterface
 */
public class ButtonCloseBacklogForm extends HTML {

	public ButtonCloseBacklogForm() {

		this.setHTML("<a href='#'><img src='images/close.gif'></a>");

		this.addClickHandler(new ClickHandler() {

			@Override
			public void onClick(ClickEvent event) {

				InitializeEasyBacklog.reInitialize();
			}
		});
	}
}
